/** **/
package com.zte.claa.inficombo.csa.app.dao.mysql.impl;


import java.util.List;

import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import com.zte.claa.inficombo.share.model.persondev.PersonJobDev;
import com.zte.claa.inficombo.share.model.persondev.PersonJobDevQryCondition;





@Repository
public interface PersonJobDevMapper {
	
	// 根据终端查询绑定的人员
	List<PersonJobDev> selectByDeveui(@Param("deveui")String deveui) throws Exception;
	
	// 根据主键查询绑定的人员
	PersonJobDev selectByKey(@Param("deveui")String deveui, @Param("personid")String personid) throws Exception;
	
	// 查询该人员绑定的终端
	List<PersonJobDev> selectByPerson(@Param("personid")String personid) throws Exception;
	
	// 条件查询
	List<PersonJobDev> selectByCondition(@Param("cdt")PersonJobDevQryCondition cdt) throws Exception;
	
}